package Bill; /*  9717033352      */

public class Bill
{
    public static void main(String[] args) 
    {
        double x = 240.93;
        double y;
        double z;
       
        System.out.println("SubToal="+x);
        y= x*.103;
        System.out.println("Without round Tax="+y);
        y=Round(y,2);
        z=y+x;
        System.out.println("Tax="+y);
        System.out.println("Toal="+z);

    }
    
    public static double Round(double Rval, int Rpl) 
    {
        float p = (float)Math.pow(10,Rpl);
        Rval = Rval * p;
        float tmp = Math.round(Rval);
        return (double)tmp/p;
    }
   

}
